* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  font-family: 'HeiTi';
}
body {
  background-color: #f5f6f8;
}
.header {
  height: 60px;
  background-color: #fff;
  display: flex;
  position: relative;
}
.header .left {
  position: absolute;
  left: 20px;
  top: 0px;
  line-height: 60px;
  font-size: 20px;
  font-weight: bold;
}
.header .center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
}
.header .center select {
  width: 60px;
  height: 30px;
  margin: 0 2px;
  border: none;
  font-size: 16px;
}
/* 日历 */
.calendar {
  width: 330px;
  height: 370px;
  background-color: #ffffff;
  margin: 10px auto;
  border-radius: 10px;
}
.calendar .week {
  display: flex;
  justify-content: space-around;
}
.calendar .week div {
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.calendar .time {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.calendar .time .active {
  background-color: #dae9ff;
  font-size: #5f9ad6;
}
.calendar .time .item {
  width: 46px;
  height: 40px;
  text-align: center;
  margin: 2px 0;
}
.calendar .time .item .first {
  width: 100%;
  height: 100%;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}
.calendar .expenditure {
  width: 100%;
  height: 60px;
  border-top: 1px solid #999;
  display: flex;
  padding: 10px;
  justify-content: space-around;
  text-align: center;
}
.calendar .expenditure .number {
  font-weight: bold;
  font-size: 18px;
}
.calendar .expenditure .string {
  font-size: 14px;
}
/* 明细 */
.details {
  width: 330px;
  background-color: #ffffff;
  margin: 10px auto;
  border-radius: 10px;
  padding: 10px;
}
.details .header {
  width: 100%;
  height: 20px;
  position: relative;
  left: 0;
  top: 0;
  font-weight: bold;
  border-radius: 10px;
}
.details .header .time {
  position: absolute;
  left: 16px;
  top: 5px;
}
.details .header .income {
  position: absolute;
  left: 180px;
  top: 3.8px;
  display: flex;
}
.details .header .income div {
  padding-top: 2px;
}
.details .header .expenditure {
  position: absolute;
  left: 250px;
  top: 5px;
  display: flex;
}
.details .header .expenditure div {
  padding-top: 2px;
}
.details .list .content {
  display: flex;
  justify-content: space-between;
  padding: 10px 18px;
  margin-top: 20px;
  border-top: 1px solid #666;
}
.details .list .content .source {
  display: flex;
  position: relative;
}
.details .list .content .source .cir {
  width: 4px;
  height: 4px;
  background-color: red;
  border-radius: 50%;
  position: absolute;
  top: 20px;
  left: 0;
}
.details .list .content .source .text {
  width: 54px;
  position: absolute;
  top: 0;
  left: 10px;
}
.details .list .content .source .text .text1 {
  text-align: center;
  font-size: 18px;
}
.details .list .content .source .text .text2 {
  font-size: 12px;
  color: #999;
  text-align: center;
}
.details .list .content .amount {
  margin-top: 8px;
  font-size: 18px;
  color: red;
}
/* 下方固定区域 */
.fixed {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #3b92f1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translate(-50%, 0);
  box-shadow: 0 4px 8px 1px #5f9ad6;
}
.fixed i {
  display: block;
  transform: rotate(45deg);
  color: white;
}
